package com.kuang.service;

import com.kuang.dao.UserMapper;
import com.kuang.pojo.User;

/**
 * @Author: Guohai
 * @Date: 2020-07-28 12:46
 */
public class UserServiceImpl implements UserService {

    public UserMapper userMapper;
    public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    public User loginUser(User user) {
        return userMapper.loginUser(user);
    }
}
